package com.example.larou.utils;

import cn.dev33.satoken.util.SaResult;
import com.example.larou.entity.Cart;
import com.example.larou.entity.Email;
import com.example.larou.entity.Item;
import com.example.larou.entity.User;
import com.example.larou.service.ItemService;
import com.example.larou.service.UserService;

import java.util.List;

public abstract class Adapter implements UserService, ItemService {
    @Override
    public SaResult emailLoginService(User user) {
        return null;
    }

    @Override
    public SaResult RegisterService(User user) {
        return null;
    }

    @Override
    public SaResult insertItem(Item item) {
        return null;
    }

    @Override
    public SaResult deleteItem(int item_id) {
        return null;
    }

    @Override
    public SaResult updateItem(Long id,Item item) {
        return null;
    }

    @Override
    public SaResult addCart(Cart cart) {return null;}

    @Override
    public SaResult deleteCartItem(int cart_id) {
        return null;
    }
    @Override
    public SaResult addEmail(Email email) {
        return null;
    }
}
